home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
pcpdial.arc
/
PALOALTO.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1987-12-27
|
3KB
|
176 lines
ASSI S7" "
ASSI S0" "
ASSI S1"PALO ALTO, CA [415, 408]"
BEGIN:
CLEA
LOCA 4,0
MESS" ╔══╡ PALO ALTO BBS NUMBERS ╞══╗"
MESS" ║ ║"
MESS" ║ A - SPACE BBS ║"
MESS" ║ B - SIGSIG ║"
MESS" ║ C - Desk Top Publisher ║"
MESS" ║ D - Stanford PCUG ║"
MESS" ║ E - Emerald Lake ║"
MESS" ║ F - BAHUG ║"
MESS" ║ G - BIZCOMP ║"
MESS" ║ M - Manual Dial ║"
MESS" ║ Q - Return to MAIN menu ║"
MESS" ║ ║"
MESS" ╠═════════════════════════════╣"
MESS" ║ ENTER YOUR CHOICE(S): ║"
MESS" ║ ║"
MESS" ╚═════════════════════════════╝"
LOCA 18,25
GET S0
TOP:
FIND S0"A"
IF FOUN
ASSI S6"SPACE BBS"
ASSI S8"9649039"
GOSU REDIALER
ELSE
ENDI
FIND S0"B"
IF FOUN
ASSI S6"SIGSIG"
ASSI S8"9687369"
GOSU REDIALER
ELSE
ENDI
FIND S0"C"
IF FOUN
ASSI S6"The Desktop Publisher"
ASSI S8"8562771"
GOSU REDIALER
ELSE
ENDI
FIND S0"D"
IF FOUN
ASSI S6"Stanford PC Users Group"
ASSI S8"7237995"
GOSU REDIALER
ELSE
ENDI
FIND S0"E"
IF FOUN
ASSI S6"Emerald Lake"
ASSI S8"3652650"
GOSU REDIALER
ELSE
ENDI
FIND S0"F"
IF FOUN
ASSI S6"BAHUG"
ASSI S8"3657836"
GOSU REDIALER
ELSE
ENDI
FIND S0"G"
IF FOUN
ASSI S6"BIZCOMP"
ASSI S8"7209212"
GOSU REDIALER
ELSE
ENDI
FIND S0"M"
IF FOUN
CLEA
LOCA 5,20
MESS"NUMBER TO DIAL:"
LOCA 5,36
ASSI S6"MANUAL DIAL"
GET S8
GOSU REDIALER
ELSE
ENDI
FIND S0"Q"
IF FOUN
CLEA
TRAN"!@!"
WAIT"@"
TRAN"D!"
WAIT"@"
CLEA
LOCA 1,0
PAUS 1
EXEC"SELCITY.CMD"
ELSE
ENDI
FIND S7"MORE"
IF FOUN
ASSI S7" "
GOTO TOP
ELSE
ENDI
MESS"ALL NUMBERS IN DIALING QUEUE FAILED TO ANSWER"
MESS"RETURNING TO MAIN MENU"
ALAR
ASSI S0"Q"
GOTO TOP
REDIALER:
CLEA
ISFI S6
IF NOT SUCC
LOCA 5, 35
MESS"DIALING"
MESS" "
MESS S6
MESS S8
TRAN"I!"
PAUS 1
TRAN"ATZ!"
WAIT"OK"
TRAN"^E!"
WAIT"READY"
TRAN"D"
TRAN S8
TRAN"!"
RGET S9
RGET S9 80 40
RGET S9 40 40
RGET S9 40 40
GOTMESS:
FIND S9"BUSY"
IF FOUN
MESS S6
MESS S8
MESS"BUSY; GOING TO NEXT NUMBER"
MESS"*****************************************************************"
ASSI S7"MORE"
GOTO RTRN
ENDI
FIND S9"ANSWER TONE"
IF FOUN
SET PARI NONE
SET DATA 8
CLEA
MESS"CONNECTED TO"
MESS S8
MESS S6
MESS S1
ALAR
EXIT
ELSE
FIND S9"RINGING"
IF FOUN
RGET S9
FIND S9"RINGING"
IF FOUN
LOG OPEN S6
MESS"NO ANSWER - STILL RINGING"
MESS S8
MESS S6
MESS S1
LOG CLOSE
TRAN"^C^D^C"
MESS"***************************************************************************"
GOTO RTRN
ELSE
GOTO GOTMESS
ENDI
ENDI
ENDI
ENDI
RTRN:
RETURN